@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url('../fonts/lato.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  color: #fff;
  font-family: 'Lato', serif;
  margin: 0;
  padding: 0;
}

body.unauthorized {
  background-color: #795548;
}

body.forbidden {
  background-color: #F44336;
}

body.not-found {
  background-color: #607D8B;
}

body.internal-server-error {
  background-color: #2196F3;
}

.page-wrap {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

p, a {
  font-size: 1em;
}

h2, a {
  text-transform: uppercase;
}

a {
  border: 2px solid #fff;
  border-radius: 5px;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  line-height: 44px;
  width: 88px;
  height: 44px;
  text-decoration: none;
  transition: all .5s ease;
}

a:hover {
  border: 2px solid #fff;
  width: 132px;
}

body.unauthorized a:hover {
  background-color: #A1887F;
  border-color: #A1887F;
}

body.forbidden a:hover {
  background-color: #E57373;
  border-color: #E57373;
}

body.not-found a:hover {
  background-color: #90A4AE;
  border-color: #90A4AE;
}

body.internal-server-error a:hover {
  background-color: #64B5F6;
  border-color: #64B5F6;
}

@media (min-width:320px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.5em;
  }
}

@media (min-width:480px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 1.75em;
  }
}

@media (min-width:600px) {
  h1 {
    font-size: 4em;
  }
  h2 {
    font-size: 2em;
  }
}

@media (min-width:801px) {
  h1 {
    font-size: 5em;
  }
  h2 {
    font-size: 3em;
  }
}

@media (min-width:1025px) {
  h1 {
    font-size: 6em;
  }
  h2 {
    font-size: 4em;
  }
}

@media (min-width:1281px) {
  h1 {
    font-size: 7em;
  }
  h2 {
    font-size: 5em;
  }
}
